package com.hlf.modules.wechat.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @tableName t_tk_config_wechat_template
 * @author Administrator
 * @date 2017-07-10
 */
public class ConfigWechatTemplate implements Serializable {
    /**  */
    private Long id;

    /** 代理商ID */
    private Long topAgentId;

    /** 微信配置表ID */
    private Long wechatId;

    /** 模板编号 */
    private String templateCode;

    /** 模板内容 */
    private String templateContent;

    /** 创建者，如果为系统初始数据填0 */
    private Long insertBy;

    /** 创建时间 */
    private Date insertDate;

    /** 最后更新者，如果为系统初始数据填0 */
    private Long lastUpdateBy;

    /** 最后更新时间 */
    private Date lastUpdateDate;

    /** 逻辑删除标记（1：显示；0：删除） */
    private Integer delFlag;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTopAgentId() {
        return topAgentId;
    }

    public void setTopAgentId(Long topAgentId) {
        this.topAgentId = topAgentId;
    }

    public Long getWechatId() {
        return wechatId;
    }

    public void setWechatId(Long wechatId) {
        this.wechatId = wechatId;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode == null ? null : templateCode.trim();
    }

    public String getTemplateContent() {
        return templateContent;
    }

    public void setTemplateContent(String templateContent) {
        this.templateContent = templateContent == null ? null : templateContent.trim();
    }

    public Long getInsertBy() {
        return insertBy;
    }

    public void setInsertBy(Long insertBy) {
        this.insertBy = insertBy;
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "ConfigWechatTemplate [id=" + id + ", topAgentId=" + topAgentId + ", wechatId=" + wechatId + ", templateCode="
                + templateCode + ", templateContent=" + templateContent + ", insertBy=" + insertBy + ", insertDate="
                + insertDate + ", lastUpdateBy=" + lastUpdateBy + ", lastUpdateDate=" + lastUpdateDate + ", delFlag="
                + delFlag + "]";
    }
}